package me.aartikov.alligator.converters;

import me.aartikov.alligator.Screen;
import me.aartikov.alligator.helpers.DialogFraction;


/**
 * Converts a screen to a dialog fragment and vice versa.
 *
 * @param <ScreenT> screen type
 */
public interface DialogFragmentConverter<ScreenT extends Screen> {


	DialogFraction createDialogFragment(ScreenT screen);


	ScreenT getScreen( DialogFraction fragment);
}
